home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20041116-20060924
/
000178_arthur.marsh@internode.on.net_Sun Oct 23 14:20:39 2005.msg
< prev
next >
Wrap
Internet Message Format
|
2006-09-27
|
3KB
Date: Thu, 20 Oct 2005 11:38:07 +0930
From: Arthur Marsh <arthur.marsh@internode.on.net>
Organization: what organisation
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1
X-Accept-Language: en, en-us
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: c-kermit +ssl compile fails with syntax error before numeric
constant
References: <1129748128.997179.70330@g47g2000cwa.googlegroups.com>
In-Reply-To: <1129748128.997179.70330@g47g2000cwa.googlegroups.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ppp1092.adelaide.on.net.au
Message-ID: <4356fc09$1@duster.adelaide.on.net>
X-Trace: duster.adelaide.on.net 1129774089 150.101.64.67 (20 Oct 2005 11:38:09 +0950)
Lines: 60
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!news-south.connect.com.au!duster.adelaide.on.net!not-for-mail
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15421
Hi, you probably need to install OpenSSL 0.9.7g, add:
-DOPENSSL_097
to your makefile options, and try compiling again.
LT wrote:
> I needed to make a change to c-kermit. The recompile is failing on
> linux with the error... "/usr/local/ssl/include/openssl/rsa.h:324:
> error: syntax error before numeric constant"
>
> I installed and verified the the latest version of openssl.
> The compile log and other details are below.
>
> Any ideas on a fix would be appreciated.
> thanks, LT
>
>
> $ openssl version
> OpenSSL 0.9.8a 11 Oct 2005
>
>
> $ make clean
> Removing object files...
> rm -f ckcmai.o ckucmd.o ckuusr.o ckuus2.o \
> ckuus3.o ckuus4.o ckuus5.o ckcpro.o ckcfns.o \
> ckcfn2.o ckcfn3.o ckuxla.o ckucon.o ckutio.o \
> ckufio.o ckudia.o ckuscr.o ckwart.o ckuusx.o \
> ckuusy.o ckcnet.o ckuus6.o ckuus7.o ckusig.o \
> ckucns.o ckcmdb.o ckuath.o ckctel.o ckclib.o \
> ckcuni.o ck_crp.o ck_ssl.o ckupty.o ckcftp.o \
> ckcpro.c wart
>
>
> $ make linux+openssl
> Making C-Kermit "8.0.211" for Linux on i386 with SSL/TLS...
> make xermit KTARGET=${KTARGET:-linux+openssl} "CC = gcc" "CC2 = gcc" \
> "CFLAGS = -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC \
> -DCK_AUTHENTICATION -DCK_SSL \
> -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET -DLINUXFSSTND -DHAVE_CRYPT_H \
> -DFNFLOAT -I/usr/local/ssl/include " "LNKFLAGS = " \
> "LIBS= -L/usr/local/ssl/lib \
> -lncurses -ltermcap -lssl -lcrypto -lm -lresolv -lcrypt"
> make[1]: Entering directory `/home/aplst/ftp/kermit/temp'
> gcc -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC
> -DCK_AUTHENTICATION -DCK_SSL -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET
> -DLINUXFSSTND -DHAVE_CRYPT_H -DFNFLOAT -I/usr/local/ssl/include
> -DKTARGET=\"linux+openssl\" -c ckcmai.c
> In file included from /usr/local/ssl/include/openssl/x509.h:96,
> from /usr/local/ssl/include/openssl/ssl.h:183,
> from ck_ssl.h:43,
> from ckcmai.c:607:
> /usr/local/ssl/include/openssl/rsa.h:324: error: syntax error before
> numeric constant
> /usr/local/ssl/include/openssl/rsa.h:325: error: syntax error before
> numeric constant
> make[1]: *** [ckcmai.o] Error 1
> make[1]: Leaving directory `/home/aplst/ftp/kermit/temp'
> make: *** [linux+openssl] Error 2
>